package io.github.springsongs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients // 启动 feign
@EnableHystrix // 启动 hystrix
public class OrderFeignHystrixMain8002 {
    public static void main(String[] args) {
        SpringApplication.run(OrderFeignHystrixMain8002.class,args);
        System.out.println("order feign started!");
    }
}
